package com.ts.api.common.constant.test;

/**
 *  API测试返回类型枚举
 *  @author Pan
 */
public enum ApiTestResultTypeEnum {

    /** 撞库 */
    DATA_EXCHANGE("dataExchangeResult"),
    /** 进件模式 */
    APPLY("applyResult"),

    ;

    private final String type;

    ApiTestResultTypeEnum(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public boolean hasType(String modeType) {
        return this.getType().equals(modeType);
    }

}
